package main

import (
	"flag"
	"fmt"
	"runtime"
)

var url string
var options string
var concurrency int

func init() {
	flag.StringVar(&url, "url", "", "provide your download target")
	flag.StringVar(&options, "options", "single", "single or multithread")
	flag.IntVar(&concurrency, "concurrency_num", 1, "concurrency num of downloader")
}

func main() {
	// flag.Parse()
	// dlr := download.NewDownloader(concurrency, url)
	n := runtime.NumCPU()
	fmt.Println(n)
}
